package com.hanhai.zrb.api.biz.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.hanhai.zrb.model.user.UserBlacklist;

public interface UserBlacklistService {
	void add(UserBlacklist blacklist);

	void update(UserBlacklist blacklist);

	void delete(Long id);

	UserBlacklist get(Long id);

	UserBlacklist getByUserId(Long userId);

	List<UserBlacklist> listAllNotExpired();
	List<Long> listAllUserIdListNotExpired();
	PageInfo listPage(Integer page,Integer rows);

	List<Long> listAllUserId();
	
    void refreshUserBlacklist();
}
